package com.campusexpresspickup.dto;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *修改密码dto
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UpdateUserPasswordParam {
  @NotEmpty
  @ApiModelProperty(value = "用户名", required = true)
  private String account;

  @NotEmpty
  @ApiModelProperty(value = "旧密码", required = true)
  private String oldPassWord;

  @NotEmpty
  @ApiModelProperty(value = "新密码", required = true)
  private String newPassWord;
}
